package tech.aistar.corejava.day09.inner;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:
 * @date 2019/7/25 0025
 */
public class TestPrintService {
    public static void main(String[] args) {
        PrintService printService = new PrintService();

        printService.test(new Testable() {
            @Override
            public void test() {
                System.out.println("匿名内部类!");
            }
        });

        //今天开个眼界
        //printService.test(()-> System.out.println("匿名内部类!"));
    }
}
